//#include<stdlib.h>
#include<stdio.h>
#include "Queue.h"
#include "../../embeddable/Embeddable.h"
#include "../../embeddable/DefaultEmbeddable.h"

using namespace DefaultImplementation;


int main()
{
	printf("asasdfasdfadfaf\n");
	Queue<int> q = Queue<int>();
	printf("aaaaaaaaaaaaaaaaaaaaaa\n");
	for(int i = 0; i < 30; i++)
		q.push(i);
	printf("bbbbbbbbbbbbbbbbbbbbbbbbbb\n");
	for(int i  = 0; i < 30; i++)
	{
		printf("%d\n", q.pop());
	}
	for(int i = 0; i < 53; i++)
		q.push(i);

	printf("test copy constructor\n");
	Queue<int> q2 = q;
	for(int i = 0; i < 53; i++)
		printf("%d\n", q2.pop());

	printf("Doing another test\n");
	Queue<int> test = Queue<int>();
	for(int i = 0; i < 41; i++)
	{
		test.push(i);
		printf("%d\n", test.pop());
	}
	return 0;
}
